# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class DogrecruitmentItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass



class FindPeopleItem(scrapy.Item):
    resumeId = scrapy.Field()                                   # 简历id
    username = scrapy.Field()                                   # 姓名
    gender = scrapy.Field()                                     # 性别==1？女：男
    jobStatus = scrapy.Field()                                  #
    exp = scrapy.Field()                                        # 经验
    expectPosition = scrapy.Field()                             # 期望职业
    willSalaryStart = scrapy.Field()                            # 最低薪资
    willSalaryEnd = scrapy.Field()                              # 最高薪资
    city = scrapy.Field()                                       # 城市
    publishTime = scrapy.Field()                                # 发表时间
    updateTime = scrapy.Field()                                 # 跟新时间

class FindPeopleDetailItem(scrapy.Item):
    resumeId = scrapy.Field()
    resumeName = scrapy.Field()
    birthday = scrapy.Field()
    address = scrapy.Field()
    arrivalTime = scrapy.Field()
    politicalStatus = scrapy.Field()
    selfEvaluation = scrapy.Field()
    expectIndustry = scrapy.Field()
    willNature = scrapy.Field()
    # 列表类型
    keywordList = scrapy.Field()
    educationExperienceList = scrapy.Field()
    projectExperienceList = scrapy.Field()
    competitionExperienceList = scrapy.Field()
    trainingExperienceList = scrapy.Field()
    # professionalList = scrapy.Field()
    skillList = scrapy.Field()
    languageList = scrapy.Field()
    certList = scrapy.Field()
    workExperienceList = scrapy.Field()
    attachmentList = scrapy.Field()


class FindJobItem(scrapy.Item):
    id = scrapy.Field()
    publishTime = scrapy.Field()
    updateTime = scrapy.Field()
    willNature = scrapy.Field()
    positionName = scrapy.Field()
    minimumWage = scrapy.Field()
    maximumWage = scrapy.Field()
    payMethod = scrapy.Field()
    exp = scrapy.Field()
    educationalRequirements = scrapy.Field()
    count = scrapy.Field()
    enterpriseId = scrapy.Field()


class FindJobDetailItem(scrapy.Item):
    id = scrapy.Field()
    jobRequiredments = scrapy.Field()
    welfare = scrapy.Field()
    workplace = scrapy.Field()
    deadline = scrapy.Field()
    function = scrapy.Field()
    publisher = scrapy.Field()
    status = scrapy.Field()
    publisherName = scrapy.Field()
    enterpriseName = scrapy.Field()
    messageTemplateId = scrapy.Field()
    keywordList = scrapy.Field()
    skillsList = scrapy.Field()
    resumeCount = scrapy.Field()

class CompanyDetailItem(scrapy.Item):
    id = scrapy.Field()
    enterpriseId = scrapy.Field()
    logo = scrapy.Field()
    shortName = scrapy.Field()
    industry = scrapy.Field()
    econKind = scrapy.Field()
    startDate = scrapy.Field()
    registCapi = scrapy.Field()
    personScope = scrapy.Field()
    website = scrapy.Field()
    email = scrapy.Field()
    phone = scrapy.Field()
    slogan = scrapy.Field()
    introduction = scrapy.Field()
    photo = scrapy.Field()
    label = scrapy.Field()
    postCode = scrapy.Field()
    recruitJobNum = scrapy.Field()
    totalPublicJobNum = scrapy.Field()
    provinceCode = scrapy.Field()
    cityCode = scrapy.Field()
    regionCode = scrapy.Field()
    detailedAddress = scrapy.Field()
    remarks = scrapy.Field()

